package com.solution.admin.finance.wallet.service;

import java.util.List;
import java.util.Map;

import com.solution.admin.finance.wallet.entity.WalletWithdrawEntity;
import com.solution.common.page.PageBean;
import com.solution.common.page.PageParam;

/**
 * 客户钱包提现接口service接口层
 * @author lufer
 * @date 2018-05-04 16:52:30
 */
public interface WalletWithdrawService {

	/**
	 * 保存客户钱包提现
	 * @param walletWithdrawEntity 客户钱包提现实体
	 * @return Long 返回插入客户钱包提现记录ID
	 * @author lufer
	 * @date 2018-05-04 16:52:30
	 */
	public long saveWalletWithdraw(WalletWithdrawEntity walletWithdrawEntity);
	
	
	/**
	 * 删除客户钱包提现
	 * @param 
	 * @return int 返回删除记录条数
	 * @author lufer
	 * @date 2018-05-04 16:52:30
	 */
	public int deleteWalletWithdrawById(long id);
	
	
	/**
	 * 根据ID查询客户钱包提现
	 * @param id 客户钱包提现id
	 * @return WalletWithdrawEntity 客户钱包提现对象
	 * @author lufer
	 * @date 2018-05-04 16:52:30
	 */
	public WalletWithdrawEntity getWalletWithdrawById(Long id);

	/**
	 * 更新客户钱包提现
	 * @param WalletWithdrawEntity 客户钱包提现对象
	 * @return int 更新是否成功，>1代表更新成功
	 * @author lufer
	 * @date 2018-05-04 16:52:30
	 */
	public int updateWalletWithdraw(WalletWithdrawEntity walletWithdrawEntity);

	/**
	 * 分页查询客户钱包提现
	 * @param pageParam 分页参数
	 * @param paramMap 查询参数
	 * @return PageBean 分页参数和分页数据
	 * @author lufer
	 * @date 2018-05-04 16:52:30
	 */
	public PageBean listWalletWithdrawPage(PageParam pageParam, Map<String, Object> paramMap);
	
	/**
	 * 根据条件查询客户钱包提现
	 * @param param
	 * @return 客户钱包提现列表
	 * @author lufer
	 * @date 2018-05-04 16:52:30
	 */
	public List<WalletWithdrawEntity> listWalletWithdraw(Map<String, Object> param);
	
	
	
	
	
}
